package params

type ProductParam struct {
	ProductName  string `json:"product_name" binding:"required,gt=5"`
	ProductNum   int    `json:"product_num" binding:"required,gt=0"`
	ProductImage string `json:"product_image" binding:"required,url"`
	ProductUrl   string `json:"product_url" binding:"required,url"`
}

type Seckill struct {
	UserId    int64 `json:"user_id" binding:"required"`
	ProductId int64 `json:"product_id" binding:"required"`
}
